Fix Bug: shell's if error

Brightcells 8 年之前
父节点
当前提交
4a11e70296
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      startup.sh

+ 1 - 1
startup.sh

@@ -22,7 +22,7 @@ if [ "$oldversion" != "$version" ] && [ "$deldb" = "true" ]; then
22 22
 fi
23 23
 
24 24
 # Start Server
25
-if [ ! -d "/ramfs/"]; then
25
+if [ ! -d "/ramfs/" ]; then
26 26
     nohup python main.py --port=8002 &>/ramfs/minipai2.log &
27 27
 else
28 28
     nohup python main.py --port=8002 &>/tmp/minipai2.log &